
<div style="text-align:center;">
 <table  style="margin:auto;width:1000px;background-image:url(<?= base_url();?>img/txt_css.gif)">
	<tr>
		<td style="text-align:left;">您现在的位置:<?php echo anchor(base_url().'shownews/classindex/'.$NewsEnt->ClassID, $NewsEnt->ClassName);?> 
	<?php 

	if($NewsEnt->TypeID>0) 
	{
		echo '>>';  
		echo anchor(base_url().'shownews/typeindex/'.$NewsEnt->ClassID.'/'.$NewsEnt->TypeID, $NewsEnt->TypeName);}?></td>
		<td></td>
		<td></td>
	</tr>
</table>
 <table style="margin:auto;width:1000px;background-image:url(<?= base_url();?>/img/mainbg.jpg)" cellspacing="0" cellpadding="0">
		<tr>
			<td style="text-align:left;background-image:url(../img/left.gif);height:26px;width:14px;">&nbsp;&nbsp</td>
			<td style="width:50px;background-image:url(../img/line.gif);">&nbsp;&nbsp;&nbsp;序号</td>	
			<td style="width:150px;background-image:url(../img/line.gif);">&nbsp;&nbsp;&nbsp;栏目</td>
			<td style="width:330px;background-image:url(../img/line.gif);">&nbsp;&nbsp;&nbsp;标题</td>	
			<td style="width:200px;background-image:url(../img/line.gif);">&nbsp;&nbsp;&nbsp;来源</td>
			<td style="width:150px;text-align:right;background-image:url(../img/line.gif);">时间&nbsp;&nbsp;&nbsp;</td>
			<td style="text-align:left;background-image:url(../img/ma.gif);width:106px;">&nbsp;&nbsp;</td>
		</tr>
		<?php
			$i=0;
			foreach($results as $value)
			{
			?>
			<tr>
				<td>&nbsp;&nbsp;</td>
				<td><?php echo $i ?></td>
				<td><?php echo $value->TypeName ?></td>
         	    <td><?php echo anchor(base_url().'shownews/index/'.$value->NewsID,$value->Title) ?></td>
			    <td><?php echo $value->NewsSource ?></td>
			    <td style="width:150px;text-align:right">
			    <?php 
			    $this->load->helper('text');
			    echo character_limiter($value->AddTime,10,''); ?></td>
				<td>&nbsp;&nbsp;</td>
			</tr>
			<?php
				$i++;
			}
		?>	
	</table>

</div>